﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _111
{
    class CXY : IYG
    {
        public string name;

        public string Name { get => name; set => name = value; }

        public CXY(string name) {
            this.name = name;
        }

        public void YG()
        {
            Console.WriteLine("{0}是与员工",this.name);
        }

        public void ZJ()
        {
            Console.WriteLine("{0}是作家",this.name);
        }
    }
}
